package com.wmyg.antifake.repository;

import com.wmyg.antifake.entity.WxRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 王卓逸
 * @program TODO
 * @description TODO
 * @create 2019-05-12
 */
@Repository
public interface WxRecordRepository extends JpaRepository<WxRecord, Integer> {

    WxRecord findByRecordId(Integer recordId);

    Integer countByCollectedAndRecordCodeLike(Integer collected, String recordCode);

}
